<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/liste_perso.c File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/liste_perso.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="liste__perso_8h_source.html">liste_perso.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#a2d7febe50c7bd588849a7a6c3ce5e039">listePersoInit</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste, int nbr, char numCarte)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : liste n'est pas initialisée <br/>
 Postconditions : initialise liste qui est prête à contenir nbr Personnages.  <a href="#a2d7febe50c7bd588849a7a6c3ce5e039"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#ab5f518ca7f7a883cbe01c4fa805749fd">tabListePersoInit</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste, int nbr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#a446d4f94cb841c4249fda3df9853da0e">getNbrPerso</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : liste est initialisée <br/>
 Postconditions : retourne le nombre de Personnages que liste peut contenir.  <a href="#a446d4f94cb841c4249fda3df9853da0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#a967419117a9f93bd4c65050295065350">setNbrPerso</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste, int i)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : liste est initialisée <br/>
 Postconditions : change le nombre de Personnages que liste peut contenir pour i.  <a href="#a967419117a9f93bd4c65050295065350"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#ae2ccd71449c8e144d094c94122987834">getPerso</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> liste, int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#acd37e63d491118d94fe573a800c7ad83">getListeNumCarte</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : liste est initialisée <br/>
 Postconditions : retourne le numéro de carte sur lequel se situe la liste de perso.  <a href="#acd37e63d491118d94fe573a800c7ad83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#a7ee13e5e4b0569a7b8c0dfcb437a2cfe">testCollisionPerso</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, <a class="el" href="structListe__Perso.html">Liste_Perso</a> *pnj, int nbPnj, int direction)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, pnj initialisés, nbPnj&gt;=0, 1&lt;=direction&lt;=4 <br/>
 Postconditions : teste si il y a un pnj dans la diretion où l'on veut aller retourne -1 s'il n'y a pas de pnj, retourne l'indice du pnj qui bloque le passage.  <a href="#a7ee13e5e4b0569a7b8c0dfcb437a2cfe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#ac3a0476a5ba8a22a8050ee890b396d5f">listePersoLibere</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : liste est initialisée <br/>
 Postconditions : liste est libérée.  <a href="#ac3a0476a5ba8a22a8050ee890b396d5f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#abe21f803f3c7d6f4d0bedfb41f52920f">tabListePersoLibere</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ? <br/>
 Postconditions : ?  <a href="#abe21f803f3c7d6f4d0bedfb41f52920f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#aad4bcdd37fe3a1e467a48699139d75bf">getNbGroupesPNJ</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : / <br/>
 Postconditions : retourne le nombre de Groupes définis dans GroupesPNJ.txt.  <a href="#aad4bcdd37fe3a1e467a48699139d75bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#acf0cae952efba23364a4e26e00ee4761">initialiserTousLesPNJ2</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> **tabPNJ, <a class="el" href="structObjet.html">Objet</a> *tabObjets)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : tabPNJ est l'adresse d'un tableau de <a class="el" href="structListe__Perso.html">Liste_Perso</a>, non initialisé tabObjets est le tableau de tous les Objets, bien initialisé <br/>
 Postconditions : tabPNJ est initialisé en un tableau de <a class="el" href="structListe__Perso.html">Liste_Perso</a> chacune d'entre elles contient un groupe de personnages.  <a href="#acf0cae952efba23364a4e26e00ee4761"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#a1f89a5077623e2fe4fa31c91c4096ca9">libererTousLesPNJ2</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> **tabPNJ)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : tabPNJ est initialisé <br/>
 Postconditions : tabPNJ est libéré  <a href="#a1f89a5077623e2fe4fa31c91c4096ca9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#af46df24ec7d2796d3b6ed2764b121c06">copieListe_Perso</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste1, <a class="el" href="structListe__Perso.html">Liste_Perso</a> *liste2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="liste__perso_8c.html#a851764fa4c95aa10fdc64a80b405980f">getPNJCarte</a> (<a class="el" href="structListe__Perso.html">Liste_Perso</a> **tabPNJ, char numCarte)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : tabPNJ est initialisé <br/>
 Postconditions : récupère les listes de PNJ appartenant à la carte numCarte.  <a href="#a851764fa4c95aa10fdc64a80b405980f"></a><br/></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="af46df24ec7d2796d3b6ed2764b121c06"></a><!-- doxytag: member="liste_perso.c::copieListe_Perso" ref="af46df24ec7d2796d3b6ed2764b121c06" args="(Liste_Perso *liste1, Liste_Perso *liste2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8c.html#af46df24ec7d2796d3b6ed2764b121c06">copieListe_Perso</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acd37e63d491118d94fe573a800c7ad83"></a><!-- doxytag: member="liste_perso.c::getListeNumCarte" ref="acd37e63d491118d94fe573a800c7ad83" args="(Liste_Perso *liste)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="liste__perso_8h.html#acd37e63d491118d94fe573a800c7ad83">getListeNumCarte</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : liste est initialisée <br/>
 Postconditions : retourne le numéro de carte sur lequel se situe la liste de perso. </p>

</div>
</div>
<a class="anchor" id="aad4bcdd37fe3a1e467a48699139d75bf"></a><!-- doxytag: member="liste_perso.c::getNbGroupesPNJ" ref="aad4bcdd37fe3a1e467a48699139d75bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="liste__perso_8h.html#aad4bcdd37fe3a1e467a48699139d75bf">getNbGroupesPNJ</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : / <br/>
 Postconditions : retourne le nombre de Groupes définis dans GroupesPNJ.txt. </p>

</div>
</div>
<a class="anchor" id="a446d4f94cb841c4249fda3df9853da0e"></a><!-- doxytag: member="liste_perso.c::getNbrPerso" ref="a446d4f94cb841c4249fda3df9853da0e" args="(Liste_Perso *liste)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="liste__perso_8h.html#a446d4f94cb841c4249fda3df9853da0e">getNbrPerso</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : liste est initialisée <br/>
 Postconditions : retourne le nombre de Personnages que liste peut contenir. </p>

</div>
</div>
<a class="anchor" id="ae2ccd71449c8e144d094c94122987834"></a><!-- doxytag: member="liste_perso.c::getPerso" ref="ae2ccd71449c8e144d094c94122987834" args="(Liste_Perso liste, int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structPersonnage.html">Personnage</a>* <a class="el" href="liste__perso_8c.html#ae2ccd71449c8e144d094c94122987834">getPerso</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a>&#160;</td>
          <td class="paramname"><em>liste</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a851764fa4c95aa10fdc64a80b405980f"></a><!-- doxytag: member="liste_perso.c::getPNJCarte" ref="a851764fa4c95aa10fdc64a80b405980f" args="(Liste_Perso **tabPNJ, char numCarte)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="liste__perso_8h.html#a851764fa4c95aa10fdc64a80b405980f">getPNJCarte</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> **&#160;</td>
          <td class="paramname"><em>tabPNJ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>numCarte</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : tabPNJ est initialisé <br/>
 Postconditions : récupère les listes de PNJ appartenant à la carte numCarte. </p>

</div>
</div>
<a class="anchor" id="acf0cae952efba23364a4e26e00ee4761"></a><!-- doxytag: member="liste_perso.c::initialiserTousLesPNJ2" ref="acf0cae952efba23364a4e26e00ee4761" args="(Liste_Perso **tabPNJ, Objet *tabObjets)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8h.html#acf0cae952efba23364a4e26e00ee4761">initialiserTousLesPNJ2</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> **&#160;</td>
          <td class="paramname"><em>tabPNJ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>tabObjets</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : tabPNJ est l'adresse d'un tableau de <a class="el" href="structListe__Perso.html">Liste_Perso</a>, non initialisé tabObjets est le tableau de tous les Objets, bien initialisé <br/>
 Postconditions : tabPNJ est initialisé en un tableau de <a class="el" href="structListe__Perso.html">Liste_Perso</a> chacune d'entre elles contient un groupe de personnages. </p>

</div>
</div>
<a class="anchor" id="a1f89a5077623e2fe4fa31c91c4096ca9"></a><!-- doxytag: member="liste_perso.c::libererTousLesPNJ2" ref="a1f89a5077623e2fe4fa31c91c4096ca9" args="(Liste_Perso **tabPNJ)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8h.html#a1f89a5077623e2fe4fa31c91c4096ca9">libererTousLesPNJ2</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> **&#160;</td>
          <td class="paramname"><em>tabPNJ</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : tabPNJ est initialisé <br/>
 Postconditions : tabPNJ est libéré </p>

</div>
</div>
<a class="anchor" id="a2d7febe50c7bd588849a7a6c3ce5e039"></a><!-- doxytag: member="liste_perso.c::listePersoInit" ref="a2d7febe50c7bd588849a7a6c3ce5e039" args="(Liste_Perso *liste, int nbr, char numCarte)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8h.html#a2d7febe50c7bd588849a7a6c3ce5e039">listePersoInit</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>numCarte</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : liste n'est pas initialisée <br/>
 Postconditions : initialise liste qui est prête à contenir nbr Personnages. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>RODARIE Dimitri, VERSAEVEL Romain, FLORES Isabelle </dd></dl>

</div>
</div>
<a class="anchor" id="ac3a0476a5ba8a22a8050ee890b396d5f"></a><!-- doxytag: member="liste_perso.c::listePersoLibere" ref="ac3a0476a5ba8a22a8050ee890b396d5f" args="(Liste_Perso *liste)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8h.html#ac3a0476a5ba8a22a8050ee890b396d5f">listePersoLibere</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : liste est initialisée <br/>
 Postconditions : liste est libérée. </p>

</div>
</div>
<a class="anchor" id="a967419117a9f93bd4c65050295065350"></a><!-- doxytag: member="liste_perso.c::setNbrPerso" ref="a967419117a9f93bd4c65050295065350" args="(Liste_Perso *liste, int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8h.html#a967419117a9f93bd4c65050295065350">setNbrPerso</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : liste est initialisée <br/>
 Postconditions : change le nombre de Personnages que liste peut contenir pour i. </p>

</div>
</div>
<a class="anchor" id="ab5f518ca7f7a883cbe01c4fa805749fd"></a><!-- doxytag: member="liste_perso.c::tabListePersoInit" ref="ab5f518ca7f7a883cbe01c4fa805749fd" args="(Liste_Perso *liste, int nbr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8c.html#ab5f518ca7f7a883cbe01c4fa805749fd">tabListePersoInit</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abe21f803f3c7d6f4d0bedfb41f52920f"></a><!-- doxytag: member="liste_perso.c::tabListePersoLibere" ref="abe21f803f3c7d6f4d0bedfb41f52920f" args="(Liste_Perso *liste)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="liste__perso_8h.html#abe21f803f3c7d6f4d0bedfb41f52920f">tabListePersoLibere</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>liste</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ? <br/>
 Postconditions : ? </p>

</div>
</div>
<a class="anchor" id="a7ee13e5e4b0569a7b8c0dfcb437a2cfe"></a><!-- doxytag: member="liste_perso.c::testCollisionPerso" ref="a7ee13e5e4b0569a7b8c0dfcb437a2cfe" args="(Personnage *hero, Liste_Perso *pnj, int nbPnj, int direction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="liste__perso_8h.html#a7ee13e5e4b0569a7b8c0dfcb437a2cfe">testCollisionPerso</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>pnj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbPnj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, pnj initialisés, nbPnj&gt;=0, 1&lt;=direction&lt;=4 <br/>
 Postconditions : teste si il y a un pnj dans la diretion où l'on veut aller retourne -1 s'il n'y a pas de pnj, retourne l'indice du pnj qui bloque le passage. </p>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
